<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Art extends Model
{
    //制定对应的表
    protected $table = 'test';

    //指定可以填充的字段
    protected $fillable = ['title','content'];
}
